﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DIX.Configuration;
namespace DIX
{
    class Program
    {
        static void Main(string[] args)
        {
            var d1 = DateTime.Now.ToShortDateString();

            DIXConfiguration d = DIXConfiguration.GetConfig();
            var list = d.Repository.Objects.GetDIXAddElementList();

            var first = list.Where(q => q.Name == "deneme").FirstOrDefault();

            foreach (var item in d.Repository.Objects)
            {
                Console.WriteLine(((DIXAddElement)item).Name);
                Console.WriteLine(((DIXAddElement)item).Type);
            }
            Console.ReadLine();
        }
    }
}
